package com.huatai.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @program: ht-system
 * @description: 用户登录记录实体
 * @author: songxiude
 * @create: 2023-07-10 13:33
 **/
@Data
@TableName("sys_login_log")
@ApiModel(value = "LoginLog实体", description = "用户登录实体类")
public class LoginLog {

	@ApiModelProperty("主键id")
	private Long id;

	@ApiModelProperty("登录用户id")
	private Long loginId;

	@ApiModelProperty("登录用户名")
	private String loginUser;

	@ApiModelProperty("用户登录时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime loginTime;
}
